import request from '@/utils/request'

// 添加进油信息
export const addIssueForm = data => {
  return request({
    url: '/issue/addIssueForm',
    method: 'post',
    data
  })
}

// 修改进油信息
// export const updateOilInfo = data => {
//   return request({
//     url: '/issue/updateOilInfo',
//     method: 'put',
//     data
//   })
// }

// 获取进油信息
export const getIssueForm = params => {
  return request({
    url: '/issue/getIssueForm',
    method: 'get',
    params
  })
}

// 删除
export const destroy = data => {
  return request({
    url: '/issue/destroy',
    method: 'delete',
    data
  })
}
